package com.sanji.sjmallmanager.http;

import com.yolanda.nohttp.rest.Response;

/**
 * 定义一个 NoHttpListener 接口，只需要定义成功和失败
 * Created by zsf on 16-12-8.
 */

public interface NoHttpListener<T> {

    void onSuccessed(int what, Response<T> response);

    void onFailed(int what,Response<T> response);
}
